package com.wthink.hzgj.util

object ClickUtil {
    const val DELAY = 3000

    private var lastClickTime: Long = 0

    fun isNotFastClick(): Boolean {
        val currentTime = System.currentTimeMillis()
        return if (currentTime - lastClickTime > DELAY) {
            lastClickTime = currentTime
            true
        } else {
            false
        }
    }
}